package com.syni.mdd.sjb.marketing.basemarket.result.distproduct;

import com.syni.mdd.sjb.common.component.utils.common.enums.ReturnEnums;
import com.syni.mdd.sjb.marketing.basemarket.result.ResultCode;

public enum DistProductResultEnums implements ReturnEnums {
    CREATE_PRO_CREATE_ERROR("创建失败，请稍后重试", ResultCode.CODE_ERROR_100),
    CREATE_PRO_FIND_ERROR("查询失败，请稍后重试", ResultCode.CODE_ERROR_100),
    SHARE_PRO_ERROR("分享失败，请稍后重试", ResultCode.CODE_ERROR_100);
    private String desc;
    private String returnCode;

    DistProductResultEnums(String desc, String code) {
        this.desc = desc;
        this.returnCode = code;
    }


    @Override
    public String getCode() {
        return returnCode;
    }

    @Override
    public String getMsg() {
        return desc;
    }
}
